﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace DTO
{
    [DataContract]
   public class Module
    {
        public const String c_id = "id";
        private Int32 m_Id = 0;
        [Key]
        [DataMember]
        public Int32 Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }
        public const String c_moduleTitle = "moduleTitle";
        private String m_moduleTitle = "";
        [DataMember]
        public String ModuleTitle
        {
            get { return m_moduleTitle; }
            set { m_moduleTitle = value; }
        }

        public const String c_moduleName = "moduleName";
        private String m_moduleName = "";
        [DataMember]
        public String ModuleName
        {
            get { return m_moduleName; }
            set { m_moduleName = value; }
        }

        public const String c_url = "url";
        private String m_url = "";
        [DataMember]
        public String Url
        {
            get { return m_url; }
            set { m_url = value; }
        }
    }
}
